package com.beiming.libra.domain.dto.tdhnet.requestdto;

import javax.validation.constraints.NotNull;

import com.beiming.libra.common.constants.ValidateMessage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 通达海请求开庭公告信息。
 * @author lenovo
 *
 */
@Data
@ApiModel("请求开庭公告信息")
public class TdhnetRequestDTO {

	@ApiModelProperty(value = "CID值 联系通达海获取", required = true)
	@NotNull(message = ValidateMessage.TDHNET_CID)
	private String cid;
	
	@ApiModelProperty(value = "6位法院代码", required = true)
	@NotNull(message = ValidateMessage.TDHNET_FYDM)
	private String fydm;
	
	@ApiModelProperty(value="案号",required=false)
	private String ah;
	
	@ApiModelProperty(value="开庭日期1",required = false)
	private String ktrq1;
	
	@ApiModelProperty(value="开庭日期2",required = false)
	private String ktrq2;
	
	
	//================分页信息==========================
	@ApiModelProperty(value="第几页",required = false)
	private Integer position = 1;
	@ApiModelProperty(value="每页返回记录数",required = false)
	private Integer pagerows;
	
	
	@Override
	public String toString() {
		return "TdhnetRequestDTO [cid=" + cid + ", fydm=" + fydm + ", ah=" + ah + ", ktrq1=" + ktrq1 + ", ktrq2="
				+ ktrq2 + ", position=" + position + ", pagerows=" + pagerows + "]";
	}
	
}
